#ifndef TEXTTODRAW_H
#define TEXTTODRAW_H

#include <QDialog>

namespace Ui {
    class TextToDraw;
}

class TextToDraw : public QDialog
{
    Q_OBJECT

public:
    explicit TextToDraw(QWidget *parent = 0);
    ~TextToDraw();
    QString inline GetTextToDraw()
    {
        qDebug("ok");
        return glb_text;
    }
private:
    Ui::TextToDraw *ui;
    QString glb_text;
private slots:
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
};

#endif // TEXTTODRAW_H
